package ipad.asia.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import lombok.Data;
import java.time.LocalDateTime;
import lombok.experimental.Accessors;
import java.math.BigDecimal;

/**
 * @Description  
 * @Author  冯东旺
 * @Date 2021-03-14 22:01:53 
 */

@Entity
@Data
@Accessors(chain = true)
@Table ( name ="discount")
public class Discount {


	@Id
   @Column(name = "id" )
	private int id;

   @Column(name = "product_id" )
	private int productId;

   @Column(name = "discount" )
	private Float discount;

   @Column(name = "reduce" )
	private Float reduce;

   @Column(name = "coupon" )
	private Float coupon;

   @Column(name = "seckill" )
	private Float seckill;

   @Column(name = "date" )
	private LocalDateTime date;

}
